Skip to content

Add Development Mode warning. #166

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 17, 2025

Conversation

robobario
Copy link
Member

Adds a transparent warning to the top right of the page when in development environment. This is the default jekyll environment so in the action I'm setting it to production for the real deal, though nothing acts on the "production" value currently. The warning does not interfere with the other content and clicks "pass through" the div, so if it happens to overlap the nav items they are clickable.

We are considering deploying a development verstion of the website continuously to GitHub pages somewhere, so we need a way to disambiguate from the main page in case someone stumbles on it. It will also make it immediately clear when developing locally that we are looking at a dev deployment.

Screenshot From 2025-07-16 09-14-34

@robobario robobario requested a review from a team as a code owner July 15, 2025 21:17
Copy link
Member

@tombentley tombentley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll buy you a coffee if you can change the favicon (e.g. to monochrome), so I can distinguish between dev mode tabs and prod tabs.

Adds a transparent warning to the top right of the page when in
development environment. This is the default jekyll environment so in
the action I'm setting it to production for the real deal, though
nothing acts on the "production" value currently.

Swaps the favicon for a grayscale version to distinguish it.

We are considering deploying a development verstion of the website
continuously to GitHub pages somewhere, so we need a way to disambiguate
from the main page in case someone stumbles on it. It will also make it
immediately clear when developing locally that we are looking at a dev
deployment.

Signed-off-by: Robert Young <[email protected]>
@robobario robobario merged commit 140983e into kroxylicious:main Jul 17, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants